package personal.dao.support;

import personal.domain.accounting.MonthwiseCalendar;
/**
 * Either txnId OR (any one other field AND year of calendar) needs to be populated
 * @author malaybiswas
 *
 */
public class TransactionSearchCriteria {
	private MonthwiseCalendar calendar;
	private Long day;
	private Long entityId;
	private Long accountId;
	private Long txnId;
	
	public MonthwiseCalendar getCalendar() {
		return calendar;
	}
	public void setCalendar(MonthwiseCalendar calendar) {
		this.calendar = calendar;
	}
	public Long getDay() {
		return day;
	}
	public void setDay(Long day) {
		this.day = day;
	}
	public Long getEntityId() {
		return entityId;
	}
	public void setEntityId(Long entityId) {
		this.entityId = entityId;
	}
	public Long getAccountId() {
		return accountId;
	}
	public void setAccountId(Long accountId) {
		this.accountId = accountId;
	}
	public Long getTxnId() {
		return txnId;
	}
	public void setTxnId(Long txnId) {
		this.txnId = txnId;
	}
}
